#pragma once
#include "GamePart.h"

namespace _DATAPART_
{
	namespace _GAME_
	{
		class Bullet:
			public GamePart
		{
			FoDeclareRTTI;
		public:
			float m_fHeatPerFire;

			Bullet(void);
			~Bullet(void);

			/*virtual*/
			void Update(float elapsedtime);

		protected:
			void CopyFrom(aDataPartBase* ptrSource);

			float m_fTimer;
			
		};
	}
}

namespace _DATAPARTFACTORY_
{
	namespace _GAME_
	{
		class BulletFactory
			:public GamePartFactory
		{
		public:
			BulletFactory(void);
			~BulletFactory(void);

			_FOGGE_::_GDB_::aDataPartBase* LoadPart(TiXmlNode* ptrNode);
			_FOGGE_::_GDB_::aDataPartBase* CreatePart();

		};
	}
}
	
